(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
eq(0, 0) → true
eq(0, s(y)) → false
eq(s(x), 0) → false
eq(s(x), s(y)) → eq(x, y)
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0, xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1, xs)) → bin2ss(s(double(x)), xs)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
log(0) → 0
log(s(0)) → 0
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0, xs), cons(cons(1, xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0, cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
Rewrite Strategy: INNERMOST
(1) RenamingProof (EQUIVALENT transformation)
Renamed function symbols to avoid clashes with predefined symbol.
(2) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double(x)), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
S is empty.
Rewrite Strategy: INNERMOST
(3) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)
Infered types.
(4) Obligation:
Innermost TRS:
Rules:
eq(0', 0') → true
eq(0', s(y)) → false
eq(s(x), 0') → false
eq(s(x), s(y)) → eq(x, y)
lt(0', s(y)) → true
lt(x, 0') → false
lt(s(x), s(y)) → lt(x, y)
bin2s(nil) → 0'
bin2s(cons(x, xs)) → bin2ss(x, xs)
bin2ss(x, nil) → x
bin2ss(x, cons(0', xs)) → bin2ss(double(x), xs)
bin2ss(x, cons(1', xs)) → bin2ss(s(double(x)), xs)
half(0') → 0'
half(s(0')) → 0'
half(s(s(x))) → s(half(x))
log(0') → 0'
log(s(0')) → 0'
log(s(s(x))) → s(log(half(s(s(x)))))
more(nil) → nil
more(cons(xs, ys)) → cons(cons(0', xs), cons(cons(1', xs), cons(xs, ys)))
s2bin(x) → s2bin1(x, 0', cons(nil, nil))
s2bin1(x, y, lists) → if1(lt(y, log(x)), x, y, lists)
if1(true, x, y, lists) → s2bin1(x, s(y), more(lists))
if1(false, x, y, lists) → s2bin2(x, lists)
s2bin2(x, nil) → bug_list_not
s2bin2(x, cons(xs, ys)) → if2(eq(x, bin2s(xs)), x, xs, ys)
if2(true, x, xs, ys) → xs
if2(false, x, xs, ys) → s2bin2(x, ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
(5) OrderProof (LOWER BOUND(ID) transformation)
Heuristically decided to analyse the following defined symbols:
eq,
lt,
bin2ss,
half,
log,
s2bin1,
s2bin2They will be analysed ascendingly in the following order:
eq < s2bin2
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1
(6) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
eq, lt, bin2ss, half, log, s2bin1, s2bin2
They will be analysed ascendingly in the following order:
eq < s2bin2
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1
(7) RewriteLemmaProof (LOWER BOUND(ID) transformation)
Proved the following rewrite lemma:
eq(
gen_0':s:nil:cons:double:1':bug_list_not3_0(
n5_0),
gen_0':s:nil:cons:double:1':bug_list_not3_0(
n5_0)) →
true, rt ∈ Ω(1 + n5
0)
Induction Base:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(0), gen_0':s:nil:cons:double:1':bug_list_not3_0(0)) →RΩ(1)
true
Induction Step:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n5_0, 1)), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n5_0, 1))) →RΩ(1)
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) →IH
true
We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
(8) Complex Obligation (BEST)
(9) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
lt, bin2ss, half, log, s2bin1, s2bin2
They will be analysed ascendingly in the following order:
lt < s2bin1
half < log
log < s2bin1
s2bin2 < s2bin1
(10) RewriteLemmaProof (LOWER BOUND(ID) transformation)
Proved the following rewrite lemma:
lt(
gen_0':s:nil:cons:double:1':bug_list_not3_0(
n744_0),
gen_0':s:nil:cons:double:1':bug_list_not3_0(
+(
1,
n744_0))) →
true, rt ∈ Ω(1 + n744
0)
Induction Base:
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, 0))) →RΩ(1)
true
Induction Step:
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(+(n744_0, 1)), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, +(n744_0, 1)))) →RΩ(1)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) →IH
true
We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
(11) Complex Obligation (BEST)
(12) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
bin2ss, half, log, s2bin1, s2bin2
They will be analysed ascendingly in the following order:
half < log
log < s2bin1
s2bin2 < s2bin1
(13) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)
Could not prove a rewrite lemma for the defined symbol bin2ss.
(14) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
half, log, s2bin1, s2bin2
They will be analysed ascendingly in the following order:
half < log
log < s2bin1
s2bin2 < s2bin1
(15) RewriteLemmaProof (LOWER BOUND(ID) transformation)
Proved the following rewrite lemma:
half(
gen_0':s:nil:cons:double:1':bug_list_not3_0(
*(
2,
n1275_0))) →
gen_0':s:nil:cons:double:1':bug_list_not3_0(
n1275_0), rt ∈ Ω(1 + n1275
0)
Induction Base:
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, 0))) →RΩ(1)
0'
Induction Step:
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, +(n1275_0, 1)))) →RΩ(1)
s(half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0)))) →IH
s(gen_0':s:nil:cons:double:1':bug_list_not3_0(c1276_0))
We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).
(16) Complex Obligation (BEST)
(17) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
log, s2bin1, s2bin2
They will be analysed ascendingly in the following order:
log < s2bin1
s2bin2 < s2bin1
(18) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)
Could not prove a rewrite lemma for the defined symbol log.
(19) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
s2bin2, s2bin1
They will be analysed ascendingly in the following order:
s2bin2 < s2bin1
(20) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)
Could not prove a rewrite lemma for the defined symbol s2bin2.
(21) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
The following defined symbols remain to be analysed:
s2bin1
(22) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)
Could not prove a rewrite lemma for the defined symbol s2bin1.
(23) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
No more defined symbols left to analyse.
(24) LowerBoundsProof (EQUIVALENT transformation)
The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
(25) BOUNDS(n^1, INF)
(26) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
half(gen_0':s:nil:cons:double:1':bug_list_not3_0(*(2, n1275_0))) → gen_0':s:nil:cons:double:1':bug_list_not3_0(n1275_0), rt ∈ Ω(1 + n12750)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
No more defined symbols left to analyse.
(27) LowerBoundsProof (EQUIVALENT transformation)
The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
(28) BOUNDS(n^1, INF)
(29) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
lt(gen_0':s:nil:cons:double:1':bug_list_not3_0(n744_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(+(1, n744_0))) → true, rt ∈ Ω(1 + n7440)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
No more defined symbols left to analyse.
(30) LowerBoundsProof (EQUIVALENT transformation)
The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
(31) BOUNDS(n^1, INF)
(32) Obligation:
Innermost TRS:
Rules:
eq(
0',
0') →
trueeq(
0',
s(
y)) →
falseeq(
s(
x),
0') →
falseeq(
s(
x),
s(
y)) →
eq(
x,
y)
lt(
0',
s(
y)) →
truelt(
x,
0') →
falselt(
s(
x),
s(
y)) →
lt(
x,
y)
bin2s(
nil) →
0'bin2s(
cons(
x,
xs)) →
bin2ss(
x,
xs)
bin2ss(
x,
nil) →
xbin2ss(
x,
cons(
0',
xs)) →
bin2ss(
double(
x),
xs)
bin2ss(
x,
cons(
1',
xs)) →
bin2ss(
s(
double(
x)),
xs)
half(
0') →
0'half(
s(
0')) →
0'half(
s(
s(
x))) →
s(
half(
x))
log(
0') →
0'log(
s(
0')) →
0'log(
s(
s(
x))) →
s(
log(
half(
s(
s(
x)))))
more(
nil) →
nilmore(
cons(
xs,
ys)) →
cons(
cons(
0',
xs),
cons(
cons(
1',
xs),
cons(
xs,
ys)))
s2bin(
x) →
s2bin1(
x,
0',
cons(
nil,
nil))
s2bin1(
x,
y,
lists) →
if1(
lt(
y,
log(
x)),
x,
y,
lists)
if1(
true,
x,
y,
lists) →
s2bin1(
x,
s(
y),
more(
lists))
if1(
false,
x,
y,
lists) →
s2bin2(
x,
lists)
s2bin2(
x,
nil) →
bug_list_nots2bin2(
x,
cons(
xs,
ys)) →
if2(
eq(
x,
bin2s(
xs)),
x,
xs,
ys)
if2(
true,
x,
xs,
ys) →
xsif2(
false,
x,
xs,
ys) →
s2bin2(
x,
ys)
Types:
eq :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
0' :: 0':s:nil:cons:double:1':bug_list_not
true :: true:false
s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
false :: true:false
lt :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → true:false
bin2s :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
nil :: 0':s:nil:cons:double:1':bug_list_not
cons :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bin2ss :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
double :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
1' :: 0':s:nil:cons:double:1':bug_list_not
half :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
log :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
more :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin1 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
if1 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
s2bin2 :: 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
bug_list_not :: 0':s:nil:cons:double:1':bug_list_not
if2 :: true:false → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not → 0':s:nil:cons:double:1':bug_list_not
hole_true:false1_0 :: true:false
hole_0':s:nil:cons:double:1':bug_list_not2_0 :: 0':s:nil:cons:double:1':bug_list_not
gen_0':s:nil:cons:double:1':bug_list_not3_0 :: Nat → 0':s:nil:cons:double:1':bug_list_not
Lemmas:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
Generator Equations:
gen_0':s:nil:cons:double:1':bug_list_not3_0(0) ⇔ 0'
gen_0':s:nil:cons:double:1':bug_list_not3_0(+(x, 1)) ⇔ s(gen_0':s:nil:cons:double:1':bug_list_not3_0(x))
No more defined symbols left to analyse.
(33) LowerBoundsProof (EQUIVALENT transformation)
The lowerbound Ω(n1) was proven with the following lemma:
eq(gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0), gen_0':s:nil:cons:double:1':bug_list_not3_0(n5_0)) → true, rt ∈ Ω(1 + n50)
(34) BOUNDS(n^1, INF)